package com.lou1052.redis.jedis.action.script;

import com.lou1052.redis.jedis.api.RunInScript;

/**
 * 脚本请求
 * Created with IntelliJ IDEA.
 * User: liuqing
 * Date: 2015/11/15
 * Time: 10:23
 * To change this template use File | Settings | File Templates.
 */
public abstract class ScriptAction<R> implements RunInScript<R> {
    protected ScriptAction(String key) {
        this.key = key;
    }

    /**
     * 执行操作的key
     */
    private  final String key;

    public String getKey() {
        return key;
    }
}
